<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>libsmi</Name>
        <Homepage>http://www.ibr.cs.tu-bs.de/projects/libsmi</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>SMI MIB library</Summary>
        <Description>libsmi is a library to access SMI MIB information.</Description>
        <Archive sha1sum="77c512ccbdd29667d152398b0dcde533aed57b49" type="targz">http://www.ibr.cs.tu-bs.de/projects/libsmi/download/libsmi-0.4.8.tar.gz</Archive>
        <Patches>
            <Patch level="1">disable_sming_test.patch</Patch>
            <Patch level="1">libsmi-0.4.8-wget111.patch</Patch>
            <Patch>libsmi-0.4.8-CVE-2010-2891.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libsmi</Name>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/libsmi</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/mibs</Path>
            <Path fileType="data">/usr/share/pibs</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/smi.conf">smi.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>libsmi-devel</Name>
        <Summary>Development files for libsmi</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libsmi</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2020-04-24</Date>
            <Version>0.4.8</Version>
            <Comment>First release for SulinOS 2021</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
